import {
	createApp
} from 'vue'
import App from './App.vue'
import router from './router'
import http from "@/utils/http";
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import locale from 'element-plus/lib/locale/lang/zh-cn'
import Vant from 'vant';
import 'vant/lib/index.css';
import {
	Lazyload,
	Overlay,
	SubmitBar,
	Collapse,
	CollapseItem
} from 'vant';

createApp(App).use(router).use(http).use(ElementPlus, {
		locale
	})
	.use(Vant)
	.use(Lazyload, {
		lazyComponent: true,
	})
	.use(Overlay,
		SubmitBar,
		Collapse, CollapseItem)
	// SubmitBar
	.mount('#app')
